<template>
  <div class="">
    <el-table :data="tableData" style="width: 100%">
      <el-table-column prop="title" label="标题"></el-table-column>
      <el-table-column prop="time" label="创建时间"></el-table-column>
      <el-table-column prop="sort" label="排序"></el-table-column>
      <el-table-column label="操作">
          <el-button type="primary" icon="el-icon-edit" @click="gotarget"></el-button>
      </el-table-column>
    </el-table>
  </div>
</template>
<script>
export default {
  data() {
    return {
      tableData: [
        {
          title:"预定座位",
          time: "2016-05-02",
          sort: "1"
        },
        {
          title:"预定座位",
          time: "2016-05-04",
          sort: "2"
        },
        {
          title:"预定座位",
          time: "2016-05-01",
          sort: "3"
        },
        {
          title:"预定座位",
          time: "2016-05-03",
          sort: "4"
        }
      ]
    }
  },
  methods:{
      gotarget(){
          this.$router.push({path:"/system/wechatother/target"})
      }
  }
};
</script>
<style>
.el-table td,
.el-table th {
  padding-left: 20px;
}
</style>
